home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / QUI / UTI / Premier Plug-In Kit 1.0.cpt / Premier Plug-In Kit 1.0 / MPW Examples / MakeFile next >
Makefile  |  1992-03-04  |  4KB  |  123 lines

  1. #--------------------------------------------------------
  2. #
  3. #    File MakeFile -  Make instructions for Premiere effects
  4. #
  5. #    written by Randy Ubillos
  6. #    (C)1992 Adobe Systems, Inc.
  7. #
  8. #--------------------------------------------------------
  9. # Macro definitions
  10.  
  11. ##### Set this to the window where all error messages should go
  12. errorout    =    "{ErrorWindow}"
  13.  
  14. ProjType    =    'PrMr'
  15.  
  16. a            =    ":.a:"
  17. c            =    ":.c:"
  18. h            =    ":.h:"
  19. r            =    ":.r:"
  20. O            =    ":.o:"
  21.  
  22. ##### Put your destination folder path here
  23. Out            =    "Develop:Plug-Ins:"
  24.  
  25. #--------------------------------------------------------
  26.  
  27. LinkOpts    =
  28. AsmOpts        =
  29. cOpts        =
  30.  
  31. #--------------------------------------------------------
  32.  
  33. {O}    ƒ    {a} {c} {r}
  34.  
  35. #--------------------------------------------------------
  36. # Replacement rules
  37.  
  38. .c.o        ƒ    .c
  39.     echo "# `Date -t` ----- Compiling {default}" >> {errorout}
  40.     c {cOpts} -i {h} -r -b2 -mc68020 -mbg ch8 ∂
  41.         {DepDir}{Default}.c -o {Targ} ≥≥ {errorout}
  42.  
  43. .a.o        ƒ    .a
  44.     echo "# `Date -t` ----- Assembling {default}" >> {errorout}
  45.     Asm {AsmOpts} -i {h} -i {a} -case obj ∂
  46.         {DepDir}{Default}.a -o {Targ} ≥≥ {errorout}
  47.     
  48. #--------------------------------------------------------
  49. BuildMe            ƒ    "{Out}Backwards [Audio]" ∂
  50.                     "{Out}Black & White" ∂
  51.                     "{Out}Cross Dissolve" ∂
  52.                     "{Out}Wipe" ∂
  53.  
  54. #--------------------------------------------------------
  55. # Build any required dump files here
  56.  
  57. headers.d                    ƒ    {h}dumpit.c
  58.     echo "# `Date -t` ----- Compiling headers.d" >> {errorout}
  59.     c {cOpts} {h}dumpit.c ≥≥ {errorout}
  60.  
  61. #--------------------------------------------------------
  62. # Backwards [Audio]
  63. {O}'Backwards [Audio]'.c.o    ƒ    headers.d {h}Interface-Filter.h
  64.  
  65. {Out}'Backwards [Audio]'    ƒƒ    {O}'Backwards [Audio]'.c.o
  66.     echo "# `Date -t` ----- Linking Backwards [Audio]" >> {errorout}
  67.     Link -rt AFlt=1000 -m XFILTER -o {Targ} ∂
  68.         {O}'Backwards [Audio]'.c.o ∂
  69.         ≥≥ {errorout}
  70.     SetFile {Targ} -t AFlt -c '{Projtype}' ∑∑ "{MPW}Error window"
  71.  
  72. {Out}'Backwards [Audio]'    ƒƒ    {r}'Backwards [Audio]'.r
  73.     echo "# `Date -t` ----- Rezing 'Backwards [Audio]'.r" >> {errorout}
  74.     Rez -a -rd {r}'Backwards [Audio]'.r -o {Targ} ≥≥ {errorout}
  75.  
  76. #--------------------------------------------------------
  77. # "Black & White"
  78. {O}'Black & White.c.o'        ƒ    headers.d {h}Interface-Filter.h
  79. {O}BW.a.o                    ƒ
  80.  
  81. {Out}'Black & White'        ƒƒ    {O}'Black & White.c.o' {O}BW.a.o
  82.     echo "# `Date -t` ----- Linking Black & White" >> {errorout}
  83.     Link -rt VFlt=1000 -m XFILTER -o {Targ} ∂
  84.             {O}'Black & White.c.o' {O}BW.a.o ∂
  85.             "{Libraries}"Interface.o ∂
  86.             ≥≥ {errorout}
  87.     SetFile {Targ} -t VFlt -c '{Projtype}' ∑∑ "{MPW}Error window"
  88.  
  89. {Out}'Black & White'        ƒƒ    {r}'Black & White.r'
  90.     echo "# `Date -t` ----- Rezing Black & White" >> {errorout}
  91.     Rez -a -rd {r}'Black & White.r' -o {Targ} ≥≥ {errorout}
  92.  
  93. #--------------------------------------------------------
  94. # Cross Dissolve
  95. "{O}Cross Dissolve.c.o"        ƒ    headers.d {h}Interface-Effect.h
  96.  
  97. "{Out}Cross Dissolve"        ƒƒ    "{O}Cross Dissolve.c.o"
  98.     echo "# `Date -t` ----- Linking Cross Dissolve" >> {errorout}
  99.     Rez -a "{r}rezkill.r" -o {Targ} ≥≥ {errorout}
  100.     Link -rt SPFX=1000 -m XEFFECT -o {Targ} "{O}Cross Dissolve.c.o" ≥≥ {errorout}
  101.     SetFile {Targ} -t SPFX -c '{Projtype}' ∑∑ "{MPW}Error window"
  102.  
  103. "{Out}Cross Dissolve"            ƒƒ    "{r}Cross Dissolve.r"
  104.     echo "# `Date -t` ----- Rezing Cross Dissolve.r" >> {errorout}
  105.     Rez -a "{r}rezkill.r" -o {Targ} ≥≥ {errorout}
  106.     Rez -a -rd "{r}Cross Dissolve.r" -o {Targ} ≥≥ {errorout}
  107.  
  108. #--------------------------------------------------------
  109. # Wipe 
  110. {O}Wipe.c.o                    ƒ    headers.d {h}Interface-Effect.h
  111.  
  112. {Out}Wipe                    ƒƒ    {O}Wipe.c.o
  113.     echo "# `Date -t` ----- Linking Wipe" >> {errorout}
  114.     Rez -a "{r}rezkill.r" -o {Targ} ≥≥ {errorout}
  115.     Link -rt SPFX=1000 -m XEFFECT -o {Targ} {O}Wipe.c.o ≥≥ {errorout}
  116.     SetFile {Targ} -t SPFX -c '{Projtype}' ∑∑ "{MPW}Error window"
  117.  
  118. {Out}Wipe                    ƒƒ    {r}Wipe.r
  119.     echo "# `Date -t` ----- Rezing Wipe.r" >> {errorout}
  120.     Rez -a "{r}rezkill.r" -o {Targ} ≥≥ {errorout}
  121.     Rez -a -rd {r}Wipe.r -o {Targ} ≥≥ {errorout}
  122.  
  123.